package com.stars;

import java.util.List;

/**
 * @program: stars
 * @ClassName RestPage
 * @description:
 * @author: aodi
 * @create: 2024-11-13 16:03
 * @Version 1.0
 */

public class RestPage {
    private  Integer   tolle;

    private List<Object> row  ;


    public RestPage(Integer tolle, List<Object> row) {
        this.tolle = tolle;
        this.row = row;
    }

    public RestPage() {
    }

    public static RestPage ok(Integer tolle, List<Object> row) {
        return new RestPage(tolle, row);
    }

    public Integer getTolle() {
        return tolle;
    }

    public void setTolle(Integer tolle) {
        this.tolle = tolle;
    }

    public List<Object> getRow() {
        return row;
    }

    public void setRow(List<Object> row) {
        this.row = row;
    }
}
